﻿
@{
    ViewData["Title"] = "ShowProd";
    Layout = "~/Views/Home/Main.cshtml";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    @*     <link rel="stylesheet" href="path/to/layui.css"> <!-- 确保layui的CSS路径正确 --> *@
    <style>
        .form-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .layui-form-item {
            margin-bottom: 20px;
        }

            .layui-form-item .layui-inline {
                margin-right: 20px; /* 为每个内联元素添加右边距 */
            }

            .layui-form-item .layui-input-block {
                margin-left: 0; /* 移除单选按钮块的左边距 */
            }

            .layui-form-item:last-child {
                margin-bottom: 0; /* 移除最后一个表单项的底部边距 */
            }

        .layui-btn {
            margin-right: 10px; /* 为提交按钮添加右边距 */
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">生产计划编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProductionPlanNumber" name="ProductionPlanNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">订单编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="Id" name="Id" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">成品名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProductNumber" name="ProductNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">规格型号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="FinishedProductSpecification" name="FinishedProductSpecification" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">尺寸：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProcessNo" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">计划产量：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="PlannedProduction" name="PlannedProduction" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">工艺路线：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProcessRouteName" name="ProcessRouteName" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">

                <div class="layui-inline">
                    <label class="layui-form-label">计划开始日期：</label>

                    <div class="layui-input-inline">
                        <input type="date" id="CreatedDatesss"  name="CreatedDate" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
               
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">计划结束日期：</label>
                    <div class="layui-input-inline">
                        <input type="date" id="EndDatesss"  name="CreatedDate" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" id="allUpdateP" class="layui-btn" lay-submit lay-filter="formSubmit">排程</button>
                    <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Process/ShowProcess'">取消</button>
                </div>
            </div>

        </form>
        <script src="~/js/Productionplanning/UpdateProplan.js"></script>
    </div>



</body>
</html>

